<?php
	session_start();
	require_once('../../includes/constantes.inc.php');
    require_once('../../'.DIR_INCLUDE . '/function.inc.php');
    require_once('../../'.DIR_INCLUDE . '/pdo.inc.php');
    //require_once(DIR_INCLUDE . '/date.php');
    //require_once(DIR_INCLUDE . '/class_date.php');
    //require_once(DIR_INCLUDE . '/fil_ariane.php');
    
	if(isset($_SESSION['id']) && isset($_POST['msgPerso'])){
		$insert = $pdo->prepare("UPDATE forum_membres SET membre_msgPerso=? WHERE membre_id=?");
		$insert->execute(array($_POST['msgPerso'],$_SESSION['id']));
	}
?>